#include"comment.hpp"


using namespace std;

int main()
{
    bool n = createFifo(NAMED_PIPE);
    assert(n);
    
    cout<<"process A start";
    int Afd = open(NAMED_PIPE,O_WRONLY);
    
    char Awrite[] = "i am process A";
    write(Afd,Awrite,strlen(Awrite));
    
    close(Afd);
    return 0;
}